package com.module.framework.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "lib_staff")
public class Staff {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String snCode;

    private String name;

    private String institute;

    private Integer type;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 0未删除，1删除
     */
    private Integer delFlag;

}
